home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / mesa / mesa-glut / src-glut.aos / glutbitmap.h < prev    next >
C/C++ Source or Header  |  2000-02-23  |  706b  |  31 lines

  1. #ifndef __glutbitmap_h__
  2. #define __glutbitmap_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994. */
  5.  
  6. /* This program is freely distributable without licensing fees 
  7.    and is provided without guarantee or warrantee expressed or 
  8.    implied. This program is -not- in the public domain. */
  9.  
  10. #include <GL/gl.h>
  11.  
  12. typedef struct {
  13.   const GLsizei width;
  14.   const GLsizei height;
  15.   const GLfloat xorig;
  16.   const GLfloat yorig;
  17.   const GLfloat advance;
  18.   const GLubyte *bitmap;
  19. } BitmapCharRec, *BitmapCharPtr;
  20.  
  21. typedef struct {
  22.   const char *name;
  23.   const int num_chars;
  24.   const int first;
  25.   const BitmapCharRec * const *ch;
  26. } BitmapFontRec, *BitmapFontPtr;
  27.  
  28. typedef void *GLUTbitmapFont;
  29.  
  30. #endif /* __glutbitmap_h__ */
  31.